<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
  <head>
 <title>商品管理表</title>
    
	<meta http-equiv="pragma" content="艺博客，装点生活">
	<meta http-equiv="cache-control" content="艺博客为书画爱好者提供服务平台">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="${pageContext.request.contextPath}/manage/css/styleb.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jqueryb.js"></script>
 
<script type="text/javascript">

 
</script>


</head>


<body>
    <div class="rightinfo">  
    <div class="rightform">
    <form action="" method="post">
   
    作品名查询:&nbsp;&nbsp;<input type="text" name="pbrand" style="border:1px solid ;border-color:navy">
    艺术家姓名:&nbsp;&nbsp;<input type="text" name="pname"style="border:1px solid ;border-color:navy">
    价格:&nbsp;&nbsp;<input type="text" name="lowmoney"style="border:1px solid ;border-color:navy">
       <input type="text" name="maxmoney"style="border:1px solid ;border-color:navy">
       <input type="submit" name="提交"style="border:1px solid ;border-color:navy">
    </form>
    
    </div>
    <br>
    <hr style="height:1px;border:none;border-top:1px dashed #0066CC;" />
  
    <table class="tablelist">
    	<thead>
	 	    <tr>
			      <th><input name="" type="checkbox" value="" checked="checked"/></th>
			      <th>用户id<i class="sort"><img src="" /></i></th>
			      <th>账号</th>
			      <th>密码</th>
			      <th>姓名</th>
			      <th>手机号</th>
				  <th>地址</th>
				  <th>注册时间</th>
				<!--   <th colspan="3">擅长作品类型</th> -->
				 
	      </tr>
        </thead>
        
          <%--  <td><input name="a${product.pid}" type="checkbox" value="${product.pid }" /></td> --%>
       <!--  <th><input name="" type="checkbox" value="" checked="checked"/></th> -->
       <%-- 
       <td>
        <a href="searchProdouct?pid=${product.pid}" class="tablelink">查看</a>   
        <a href="deleteProductServlet?pid=${product.pid}" class="tablelink"> 删除</a>
        <a href="updateServlet?pid=${product.pid}" class="tablelink"> 修改</a>
       </td> --%>
        <tbody>
	       
		        <c:forEach items="${listUserMessage.memberList}" var="i"> 
	             <tr>
	                <td><input name="" type="checkbox" value="" checked="checked"/>
	                </td> 
			        <td>${i.id}</td>
			        <td>${i.username}</td>
			        <td>${i.password}</td>
			        <td>${i.name}</td>
			        <td>${i.phone}</td>
			        <td>${i.province}-${i.province}-${i.province}</td>
			        <td>${i.time}</td>
	              </tr>
		        </c:forEach>
	        </tbody>
        </table>
        
       
    
   
    <div class="pagin">
    <!-- 	<div class="message">共<i class="blue">1256</i>条记录，当前显示第&nbsp;<i class="blue">2&nbsp;</i>页</div>
        <ul class="paginList">
        <li class="paginItem"><a href="javascript:;"><span class="pagepre"></span></a></li>
        <li class="paginItem"><a href="javascript:;">1</a></li>
        <li class="paginItem current"><a href="javascript:;">2</a></li>
        <li class="paginItem"><a href="javascript:;">3</a></li>
        <li class="paginItem"><a href="javascript:;">4</a></li>
        <li class="paginItem"><a href="javascript:;">5</a></li>
        <li class="paginItem more"><a href="javascript:;">...</a></li>
        <li class="paginItem"><a href="javascript:;">10</a></li>
        <li class="paginItem"><a href="javascript:;"><span class="pagenxt"></span></a></li>
        </ul> -->
        <div class="message">共<i class="blue">${listUserMessage.totalRecord}</i>条记录，当前显示第&nbsp;<i class="blue">${listUserMessage.pageNun}&nbsp;</i>页</div>
         <ul class="paginList">
        <!-- 如果当前有为第一页时，就没有上一页的超链接显示 -->
        <c:if test="${listUserMessage.pageNun != 1 }">
            <li class="paginItem"><a href=" ${pageContext.request.contextPath}/managehartist.do?pageNun=${listUserMessage.pageNun - 1}"><span class="pagepre"> < </span></a></li>
        </c:if>
        
        <c:forEach begin="${listUserMessage.start }" end="${listUserMessage.end }"  step="1" var="i" > 
           <%--   <c:if test="${pageProductMessage.pageNu == i}"> --%>
             <li class="paginItem"><a href=" ${pageContext.request.contextPath}/managehartist.do?pageNun=${i}">${i}</a></li>
            <%--  </c:if> --%>
        </c:forEach>
        
         <c:if test="${listUserMessage.pageNun !=  listUserMessage.totalPage}">
             <li class="paginItem"><a href=" ${pageContext.request.contextPath}/managehartist.do?pageNun=${listUserMessage.pageNun+1} "><span class="pagenxt">></span></a></li>
        </c:if>
        </ul>
    </div>
    </div>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
	<div class="gohome"><a class="animated bounceInUp" href="" title="返回首页"><i class="fa fa-home"></i></a></div>
</body>
</html>
